import Vue from 'vue'
import App from './App.vue'
import router from './core/router'
import request from './core/request'

Vue.config.productionTip = false

//自己写的js不能直接放在Vue的实例上去，得挂载到原型对象上去
//设置统一的request请求
Vue.prototype.$request = request;

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
